package com.acmen.demo.dto.cmd;

import com.acmen.easyapi.annotation.ReqParam;


public class House {
    @ReqParam(label = "位置", maxLength = 50, example = "广州白云区某花园")
    String location;
    @ReqParam(label = "楼号", maxLength = 20, example = "5号楼")
    String buildingNo;
    @ReqParam(label = "楼层", validateExp = "in(1,2,3,4,5,6,7,8,9)")
    Integer floor;

    public House() {
    }

    public String getLocation() {
        return this.location;
    }

    public String getBuildingNo() {
        return this.buildingNo;
    }

    public Integer getFloor() {
        return this.floor;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public void setBuildingNo(String buildingNo) {
        this.buildingNo = buildingNo;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }
}
